package com.meizi.codegenerate.constant;

/**
 * @author GG Bond
 * @date 2023/2/22 - 17:27 - 星期三
 * @project lambda
 * @package com.meizi.codegenerate.constant
 * @description 字段备注 规则 常量
 */
public class CharacteristicConstant {

    /**
     * 逻辑删除注释规则
     * value=0，delval=1
     * 0=未删除,1=删除       逗号，等于号 =中英文都可以
     *
     * @TableLogic
     * 两种注释规则均可以采用二两选择一个
     *
     * 模板 是否删除 0：未删除 1：删除@TableLogic
     */
    public static final String TABLELOGIC = "@TableLogic";

    public static final String NOT_DELETED_KEY = "value";

    public static final String NOT_DELETED_VALUE = "0";

    public static final String DELETED_KEY = "delval";

    public static final String DELETED_VALUE = "1";

    public static final String NOT_DELETED_KEY_TOW = "未删除";

    public static final String DELETED_KEY_TOW = "删除";


    /**
     * 根据模板生成枚举类
     * ZERO(key:0, value:0)
     * @enum(
     * zero=0==你,
     * one=1==我,
     * two=2==他
     * )enum@
     *
     * 注释需要用@enum()enum@ 英文括号包起来
     * zero=0==0,one=1==我
     * zero是枚举名字 =0是key，==0是对应value表示的含义
     * 每写完一个需要用中文英文，,分割都可以 小写大写都可以多个单词建议下划线分割
     */
    public static final String ENUM = "@enum";

    public static final String ENUM_STARTS = "@enum(";

    public static final String ENUM_END_TIME = ")enum@";

    public static final String IS_EQUAL_TO = "=";

    public static final String DOUBLE_EQUAL_SIGN = "==";


    public static final String VERSION = "version";

}
